package cn.tedu.truck.adminsjy.ex;


import cn.tedu.truck.adminsjy.web.ServiceCode;

/**
 * 新建了一个 业务 异常
 *
 * @author sjy
 * @version 1.0
 */
public class ServiceException extends RuntimeException{

    private ServiceCode code;

    public ServiceException(ServiceCode code , String message){
        super(message);
        this.code = code;
    }


    public ServiceCode getServiceCode() {
        return getServiceCode();
    }
}
